﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package org.aswing.ext {
    import org.aswing.*;

    public class DefaultGridCell extends JLabel implements GridListCell {

        protected var value;

        public function DefaultGridCell(){
            setOpaque(true);
            setBackground(ASColor.WHITE);
        }
        public function setCellValue(_arg1):void{
            this.value = _arg1;
            setText((_arg1 + ""));
        }
        public function getCellValue(){
            return (this.value);
        }
        public function getCellComponent():Component{
            return (this);
        }
        public function setGridListCellStatus(_arg1:GridList, _arg2:Boolean, _arg3:int):void{
            var _local4:ASColor = (((_arg3 % 2) == 0)) ? ASColor.WHITE : ASColor.GRAY;
            if (_arg2){
                _local4 = ASColor.BLUE;
            };
            setBackground(_local4);
        }

    }
}//package org.aswing.ext 
